package com.example.qa.service.application.service;

import com.example.qa.service.application.port.in.DeleteAllQasUseCase;
import com.example.qa.service.domain.Qa;
import com.example.qa.service.domain.port.DeleteAllQasPort;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Component;

@Component
public class DeleteAllQasService implements DeleteAllQasUseCase {

    @Resource
    private DeleteAllQasPort deleteAllQasPort;

    @Override
    public void deleteAllQas() {
        Qa.deleteAllQas(deleteAllQasPort);
    }
}